package com.tomas.dao;

import com.tomas.entity.User;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface UserDao extends CrudRepository<User, Long> {
  public User findByUsername(String name);

  public List<User> findAll();

} 